package com.aloda.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "dada.verify")
public class VerifyProperties {

    /**
     * 验证码有效期
     */
    private Integer verifyTimeout;

    /**
     * 验证码获取间隔时间
     */
    private Integer verifyColdTime;

    /**
     * 手机验证码有效期
     */
    private Integer phoneVerifyTimeout;

    /**
     * 邮箱验证码有效期
     */
    private Integer emailVerifyTimeout;
}
